package com.hooper.redisdemo.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName tb_user
 */
@TableName(value = "tb_user")
@Data
public class User implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 关注列表
     */
    private String followList;
    /**
     * 粉丝列表
     */
    private String fansList;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}